﻿using Flame.Reflection;
using System;
using System.Collections.Generic;
using System.Text;

namespace Flame.Dlr
{
    public abstract class IExecEngines
    {
        public abstract IExecutable GetEngine(Type type);
        public virtual IIntellisense GetIntellisense(Type type)
        {
            var exec = GetEngine(type);
            if (exec == null) return null;
            return exec.Intellisense;
        }
    }

}
